package com.zmzncs.lmtc.module.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.customer.pojo.card.Card;
import com.zmzncs.lmtc.module.customer.pojo.card.CardDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 客户-会员卡 Mapper 接口
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Repository
@Mapper
public interface CardDao extends BaseMapper<Card> {

    /**停车场月租车数量(C端购买)*/
    Long getTotalMonthCarByParkId(Long parkId);

    /**获取停车场购买月租车数*/
    Long getTotalMonthCardPark(Long parkId);

}
